<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://www.springframework.org/security/tags" prefix="ss"%>

<!-- SIDEBAR -->
<div id="aside">
	<h3 class="title">Menu</h3>
	<div class="padding">
		<ul class="menu">
			<li class="first current"><a href="<%=request.getContextPath()%>/welcome.do">Homepage</a>
			</li>
			<li><a href="/isLibrary/users/borrowBook.do">Borrow Book</a></li>
			<li><a href="<%=request.getContextPath()%>/books.do">Show List</a>
			</li>
			<ss:authorize access="hasRole('ROLE_ADMIN')">
				<li><a href="<%=request.getContextPath()%>/books/new.do">Add New</a>
				</li>
			</ss:authorize>
			
		</ul>
	</div>
	<!-- /padding -->
</div>
<!-- /aside -->
</div>
<!-- /section -->